// JavaScript Document
function settle(oid){
	if(confirm("确定结账？")){
		$.ajax({
			url:"/everyOrder/Orders/settle.do",
			type:"POST",
			data:{
				orderId: oid
			},//"orderId="+oid
			//dateType: "json"
			success:function(msg){
				alert("结账成功！");
				location=location;
			},
			error:function(){
				alert("结账失败！");
			}
		});
	}
	return false;
}